define(function(require, exports, module) {
	var $=require('zepto');
	var App=require("app");
	function Loader() {}
	module.exports = Loader;
	Loader.prototype.create=function(){
		var html='<div id="load_area" style="display: none;"><div class="load_bg_area"><img class="load_image" src="img/common/loading.png">&nbsp;&nbsp;努力加载中...</div></div>';
		$("body").append(html);
	};
	Loader.prototype.show=function(){
		_this=this;
		if(!document.getElementById("load_area")){
			App.addCssFile("css/loader.css","loader_css",function(){
				_this.create();
				$("#load_area").show();
			});
		}else{
			$("#load_area").show();
		}
	};
	Loader.prototype.hide=function(){
		if(document.getElementById("load_area")){
			$("#load_area").hide();
		}
	}
});